import java.awt.Point;
import java.awt.Color;

public class TriangleTest2
{
        public static void main(String[] argv)
        {
                ColorTriangle redTriangle = new ColorTriangle(Color.red, new Point(0,0), new Point(1,1), new Point(2,2));
		ColorTriangle blueTriangle = new ColorTriangle(Color.blue, new Point(0,0), new Point(1,1), new Point(2,2));

		Triangle t = new Triangle(new Point(0, 0),new Point(1, 1),new Point(2, 2));

		/**
		// v0 test
                System.out.println(redTriangle.equals(blueTriangle));
                System.out.println(blueTriangle.equals(redTriangle));
		**/

		// v1 test
                System.out.println(t.equals(redTriangle));
                System.out.println(redTriangle.equals(t));

        }
}

